home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Dec 90 / MacApp.Tech$ 12⁄14⁄90 / 2480-C++ demodialogs bugs-Dec90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item    9953727                         10-Dec-90        09:50PST
  2.  
  3. From:   MUYSVASOVIC                     ACE - Jean-Denis Muys-Vasovic
  4.  
  5. To:     MACDTS                          Macintosh Developer Tech Supt
  6.         MOOF                            Rollin, Keith A
  7.         APPLE.BUGS                      Apple Bugs Reporting
  8.         MACAPP.TEST                     MacApp SQA Team
  9.  
  10. cc:     MACAPP.TECH$                    MacApp Technical
  11.  
  12. Item forwarded by       PERRY.G      to PHIL.TH 
  13.  
  14. ------------------------------------------------------------------------------
  15.  
  16. Sub:    C++ demodialogs bugs
  17.  
  18. Hello guys,
  19.  
  20. Two new(?) bugs found in the C++ DemoDialogs example (MacApp 2.0.1):
  21.  
  22. The TPageSetUpDialog class defines a constructor which is never called since
  23. the instance is created by name from the pascal NewTemplateWindow. It just
  24. intializes the fOrientation field. This should be done in an IRes method.
  25.  
  26. Fortunately, this bug doesn't show in non debug since the default 0 is a valid
  27. value. In debug mode, the value is invalid, as shown in the inspector! The
  28. result is that the initial orientation icon in the dialog is not highlighted.
  29.  
  30. The second is that the fields methods don't follow the correct pascal
  31. conventions: when you (i)nspect a C++ object in the debugger, the C++ fields
  32. print as garbage.
  33.  
  34. Oh well…
  35.  
  36. Jean-Denis
  37.  
  38.